package com.bocai.grainshop.authserver.vo;

import lombok.Data;

import javax.validation.constraints.Email;
import javax.validation.constraints.NotEmpty;
import java.io.Serializable;

@Data
public class PhoneVo implements Serializable {

    @NotEmpty(message = "不能为空")
    @Email(message = "必须邮箱格式")
    private String phone;
}
